package com.thisblog;

import java.util.Base64;

public class test {

    public static void main(String[] args) {
        String tt = Base64.getEncoder().encodeToString("admin:123456".getBytes());
        System.out.println(tt);
    }
}
